package com.example.mytayunapi.Service;

import com.example.mytayunapi.Entity.userInfo;
import com.example.mytayunapi.Vo.UserProduct;
import com.github.pagehelper.PageInfo;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

public interface userInfoService {
    List<userInfo>getNickname(String School_degree);

    List<userInfo> getUserInfo();

    PageInfo<userInfo>  getPageInfo(int pageNum, int pageSize);

    List<userInfo> getSchool_degree(String School_degree);

    Integer updateUserInfo(userInfo userinfo);

    Integer insertUserInfo(userInfo userinfo);

    userInfo getUserdegreeApass(String School_degree, String password);

    List<userInfo> getUserdegree(String School_degree);

    Integer changeUserInfo(userInfo userinfo );

    Integer changeUserInfoLogin(userInfo userinfo);

    Integer changeUserInfoPassword(userInfo userinfo);

    String getSchool_number(String School_degree);

    String getSchool_name(String School_degree);

    Integer updateUserInfoName(userInfo userinfo);

    List<UserProduct> getmaijiaxuehao(Integer Product_id);

    List<userInfo> getyonghu(String School_degree);

    Integer updateUsersInfoName(userInfo userinfo);

    Integer updateUsersQXInfoName(userInfo userinfo);
}



